home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Animacje, filmy i prezentacje / Modelowanie 3D / YafRay 0.0.9 PIV / YafRay 0.0.9 G7 Installer.exe / {app} / gram.yafray next >
Text File  |  2004-12-22  |  6KB  |  117 lines

  1.  
  2.  
  3. $start  = $scene                                            &join_copy  ;
  4. $scene  = $st_scene $litem $en_scene                        &join_copy1 ;        
  5. $litem  = $litem   $item                                    &join_litem ;
  6. $litem  =                                              &join_empty_litem;
  7. $item   = $shader                                           &join_copy  ;
  8. $item   = $tex                                              &join_copy  ;
  9. $item   = $object                                           &join_copy  ;
  10. $item   = $camera                                           &join_copy  ;
  11. $item   = $render                                           &join_copy  ;
  12. $item   = $light                                            &join_copy  ;
  13. $item   = $filter                                           &join_copy  ;
  14. $item   = $backg                                            &join_copy  ;
  15. $item   = $trans                                            &join_copy  ;
  16.  
  17.  
  18. $shader    = $st_shader $lattr '>' $cllabel $lmod $en_shader   &join_shader;
  19.  
  20. $cllabel=  $st_attr $llabel $en_attr                        &join_copy1 ;
  21.  
  22. $trans  = '<' T_TRANS $lattr '>' $litem $en_trans        &join_transform;
  23.  
  24. $lmod   = $lmod      $mod                                     &join_lmod;
  25. $lmod   =                                               &join_empty_lmod;
  26.  
  27. $mod    = '<' T_MODULATOR $lattr '>' $llabel  $en_modulator &join_generic;
  28.  
  29.  
  30. $lattr  = $lattr     $attr                                  &join_lattr ;
  31. $lattr  =                                              &join_empty_lattr;
  32. $col    = $attrf     $attrf     $attrf                      &join_color ;
  33. $col    = $attrf     $attrf     $attrf  $attrf              &join_colorA;
  34. $attr   = T_IDE      '='        T_LITE                      &join_attr  ;
  35. $attr   = T_IDE      '='        T_FLOAT                     &join_attrf ;
  36. $attrf  = T_IDE      '='        T_FLOAT                     &join_attrf ;
  37. $label  = '<'        T_IDE      $lattr   '/' '>'            &join_label ;
  38. $llabel = $llabel    $label                                 &join_llabel;
  39. $llabel =                                             &join_empty_llabel;
  40.  
  41. #textures
  42.  
  43. $tex    = '<' T_TEXTURE $lattr '>' $llabel  $en_tex        &join_generic;
  44.  
  45. #points
  46.  
  47. $point  = '<' T_IDE  $attrf     $attrf   $attrf  '/'  '>'   &join_point ;
  48. $lpoint = $lpoint    $point                                 &join_lpoint;
  49. $lpoint =                                             &join_empty_lpoint;
  50. $points = $st_points $lpoint $en_points                     &join_points;
  51.  
  52. #faces
  53.  
  54. $face   = '<' T_IDE $lattr   '/'         '>'                &join_face  ;
  55. $lface  = $lface    $face                                   &join_lface ;
  56. $lface  =                                              &join_empty_lface;
  57. $faces  = $st_faces $lface   $en_faces                      &join_faces ;
  58.  
  59. #mesh
  60.  
  61. $mesh   = $st_mesh  $lattr   '>' $points  $faces  $en_mesh  &join_mesh  ;
  62.  
  63. $sphere = $st_sphere $lattr  '>' $point   $en_sphere        &join_sphere;
  64.  
  65. #object
  66. $geome  = $redefine                                                &join_null  ;
  67. $geome  = $mesh                                             &join_copy  ;
  68. $geome  = $sphere                                           &join_copy  ;
  69. $oattr  = '<' T_IDE $col     '/' '>'                        &join_oattr ;
  70. $loattr = $loattr    $oattr                                 &join_loattr;
  71. $loattr =                                             &join_empty_loattr;
  72. $oattrs = $st_attr   $loattr $en_attr                       &join_copy1 ;
  73. $object = $st_object $lattr  '>' $oattrs $geome $en_object  &join_object;
  74.  
  75. #camera
  76. $camera = $st_camera $lattr  '>' $point $point $point $en_camera   &join_camera;
  77.  
  78. #render
  79.  
  80. $render = '<' T_RENDER $lattr '>' $llabel  $en_render      &join_generic;
  81. $filter = '<' T_FILTER $lattr '>' $llabel  $en_filter      &join_generic;
  82.  
  83. #lights
  84. $light  = '<' T_LIGHT $lattr '>' $llabel  $en_light        &join_generic;
  85.  
  86. #background
  87. $backg  = '<' T_BACKG $lattr '>' $llabel  $en_backg        &join_generic;
  88.  
  89. $st_scene    =  '<'  T_SCENE     '>'                        &join_null  ;
  90. $en_scene    =  '<'  '/' T_SCENE '>'                        &join_null  ;
  91. $st_attr     =  '<'  T_ATTR     '>'                         &join_null  ;
  92. $en_attr     =  '<'  '/' T_ATTR '>'                         &join_null  ;
  93.  
  94. $en_modulator=  '<'  '/'  T_MODULATOR  '>'                  &join_null  ;
  95. $st_shader   =  '<'  T_SHADER                               &join_null  ;
  96. $en_shader   =  '<'  '/'  T_SHADER     '>'                  &join_null  ;
  97. $en_tex      =  '<'  '/' T_TEXTURE     '>'                  &join_null  ;
  98. $st_points   =  '<'  T_POINTS          '>'                  &join_null  ;
  99. $en_points   =  '<'  '/' T_POINTS      '>'                  &join_null  ;
  100. $st_faces    =  '<'  T_FACES           '>'                  &join_null  ;
  101. $en_faces    =  '<'  '/' T_FACES       '>'                  &join_null  ;
  102. $st_mesh     =  '<'  T_MESH                                 &join_null  ;
  103. $en_mesh     =  '<'  '/' T_MESH        '>'                  &join_null  ;
  104. $st_object   =  '<'  T_OBJECT                               &join_null  ;
  105. $en_object   =  '<'  '/' T_OBJECT      '>'                  &join_null  ;
  106. $st_camera   =  '<'  T_CAMERA                               &join_null  ;
  107. $en_camera   =  '<'  '/' T_CAMERA      '>'                  &join_null  ;
  108. $en_render   =  '<'  '/' T_RENDER      '>'                  &join_null  ;
  109. $st_sphere   =  '<'  T_SPHERE                               &join_null  ;
  110. $en_sphere   =  '<'  '/' T_SPHERE      '>'                  &join_null  ;
  111. $en_filter   =  '<'  '/' T_FILTER      '>'                  &join_null  ;
  112. $en_light   =  '<'  '/' T_LIGHT      '>'                    &join_null  ;
  113. $en_trans   =  '<'  '/' T_TRANS      '>'                    &join_null  ;
  114. $en_backg   =  '<'  '/' T_BACKG      '>'                    &join_null  ;
  115. $redefine   =  '<'  T_REDEFINE   '/' '>'                    &join_null  ;
  116.  
  117.